package cn.onlineclass.test;
import cn.onlineclass.entity.OMajor;
import cn.onlineclass.service.MajorService;
import cn.onlineclass.vo.AjaxResult;

public class text {
    public static void main(String[] args) {
        OMajor ma =new OMajor();
        MajorService maj =new MajorService();
        ma.setInuse(true);
        ma.setName("aaa");
        AjaxResult add = maj.add(ma);
        System.out.println(add+"增加了一行");
    }
}
